<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>正在跳转</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="author" content="runoob">
    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/mobile/css/index.css"/>
    <link rel="stylesheet" href="__STATIC_URL__/static/mobile/css/addmchat.css"/>
    <script src="__STATIC_URL__/static/layer.mobile/layer_mobile/layer.js"></script>

</head>
<style>

</style>
<body style="background: #2585d8;">

<!------------------导航-------------------------->
<section>

<!--------------------------主要内容区域------------------------------------->
<div class="content" style="margin: 0;background: #2585d8;text-align: center">


</div>
</section>
<script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
    layer.open({type: 2});
    wx.config({
        debug: false,
        appId: "{$jssdk['appId']}",
        timestamp: "{$jssdk['timestamp']}",
        nonceStr: "{$jssdk['nonceStr']}",
        signature: "{$jssdk['signature']}",
        jsApiList: [
            'openCard',
        ]
    });
    wx.ready(function () {
        wx.checkJsApi({
            jsApiList: [
                'openCard',
            ],
        });
        wx.openCard({
            cardList: [{
                cardId: '{$card.card_id}',
                code: '{$card.code}'
            }]// 需要打开的卡券列表
        });
    })
</script>
</body>
</html>
